﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Deliver
{
    /// <summary>
    /// 命令实体
    /// </summary>
    public class Command 
    {
        /// <summary>
        /// 命令编号
        /// </summary>
        public string Id
        {
            get;
            set;
        }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CTime
        {
            get;
            set;
        }

        /// <summary>
        /// 本地路径
        /// </summary>
        public byte [] Data
        {
            get;
            set;
        }

        /// <summary>
        /// 本地Ip
        /// </summary>
        public string ServerIp
        {
            get;
            set;
        }

        /// <summary>
        /// 服务器路径
        /// </summary>
        public string ServerPath
        {
            get;
            set;
        }

        public int Port
        {
            get;
            set;
        }

        /// <summary>
        /// 总字节数
        /// </summary>
        public long Count
        {
            get;
            set;
        }

        /// <summary>
        /// 命令类型
        /// </summary>
        public string Type
        {
            get;
            set;
        }
    }
}
